#!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 题目：输入三个整数x,y,z，请把这三个数由小到大输出。
from random import randint


def f1():
    x, y, z = randint(0, 100), randint(0, 100), randint(0, 100)
    print(f"{x}, {y}, {z}")
    if x > y:
        x, y = y, x
    if x > z:
        x, z = z, x
    if y > z:
        y, z = z, y
    print(f"{x}, {y}, {z}")


f = f1
if __name__ == "__main__":
    f()
